package game.games.graphictest;

import java.awt.Color;
import java.awt.Point;

public class Fighter extends AbstractShape
{
    public Fighter()
    {
        super(3, 3);
    }

    @Override
    protected void setShape()
    {
        setCellSize(10);
        setPoints(new Point(1, 1), new Point(2, 2), Color.YELLOW);
        getCells().setValue(new Point(0, 2), Color.YELLOW);
        getCells().setValue(new Point(2, 0), Color.YELLOW);
        // cockpit
        getCells().setValue(new Point(2, 2), Color.BLUE);
        addExclusivePoint(2, 2);
    }
}
